package com.x.mygulimall5.product.controller.webapi;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("product/category")
public class CategoryController {
    /**
     * 查出所有分类以及子分类，以树形结构组装起来
     */
    @RequestMapping("/list/tree")
    public String list(){
        //List<CategoryEntity> entities = categoryService.listWithTree();

        return "data";
    }

}
